util: add gen_oopsy_timeline_replace#1011
Open
Jaehyuk-Lee wants to merge 19 commits intoOverlayPlugin:mainfrom
Open
util: add gen_oopsy_timeline_replace#1011Jaehyuk-Lee wants to merge 19 commits intoOverlayPlugin:mainfrom
Jaehyuk-Lee wants to merge 19 commits intoOverlayPlugin:mainfrom
Conversation
This reverts commit 4ed345d.
Jaehyuk-Lee
commented
Feb 21, 2026
| 'locale': 'cn', | ||
| 'replaceSync': { | ||
| 'Chiseled Sculpture': '被创造的男性', | ||
| 'Ice Pillar': '冰柱', |
Author
There was a problem hiding this comment.
I manually chose 冰柱 (options: 冰柱 / 氷柱) for Chinese translation which was being used in raidboss e12s data.
cactbot/ui/raidboss/data/05-shb/raid/e12s.ts
Line 2151 in a920bb8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves #999
Main feature
gen_oopsy_timeline_replace.tsautomatically generates Oopsyraidsy's timelineReplace (replaceSynconly).Jobs done
sourcetranslation generator (gen_oopsy_timeline_replace.ts)replaceSyncfields for Oopsy datareplaceGermanGrammarTags())replaceSynci18n DataCLI Output
How this work
ui/oopsyraidsy/data(process repeatedly file by file)sourceandtarget. Capture with regex/(?:source|target):\s*(?:['"]([^'"]+)['"]|\[((?:['"][^'"]+['"],?\s*)+)\])/gsourceandtarget, skip the file.Questions for Reviewers
Should I also include the following tasks in this PR?
npm runcommand to run this script inpackage.json